<%@ page language="java" contentType="text/html; charset=UTF-8" import="org.springframework.ui.ModelMap" import="java.util.*,com.device.operating.entity.*"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="/xasj/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="/xasj/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="/xasj/easyui/themes/color.css">
<script type="text/javascript" src="/xasj/easyui/jquery.min.js"></script>
<script type="text/javascript" src="/xasj/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/xasj/js/dvscript/dvscript.js"></script>
<script type="text/javascript">

</script>
</head>
<%List<Dvfirm> listfirm=(List<Dvfirm>)request.getAttribute("listfirm");%>
<body >
	<div id="dnorth" >
	<div id="devres" style="padding:3px"class="easyui-panel" title="设备类型" "
				data-options="iconCls:'icon-save',collapsible:true,minimizable:true,maximizable:true,closable:true">
			设备类型选择：<select id="dvbelong" class="easyui-combobox"  style="width:180px;height:30px">
			<option value="">请选择</option>
		<%if(request.getAttribute("ld")!=null){
			List<Devres> ld=(List<Devres>)request.getAttribute("ld");
			for(Devres dv:ld){%>		
			<option value="<%=dv.getDvbelong()%>"><%=dv.getDevresname()%></option>						
			<%}}%>
			</select>
	</div>
		</div>
  		
    	<div id="content"class="easyui-panel" title="批处理程序文件"data-options="iconCls:'icon-ok',collapsible:true,closable:true" style="height:430px">
		<table id="dvscript" >
		</table>
		</div>
		<div id="tb2" style="height:52px;display: none;padding-left:10px">
		<div>
			设备厂商： 
			<select id="dvfirm" class="easyui-combobox"  style="width:150px;height:25px">
				<option value="0">请选择</option>
			<%for(Dvfirm dvfirm:listfirm){%>
				<option value="<%=dvfirm.getDvfirmId()%>"><%=dvfirm.getDvfirm()%></option>
			<%}%>						
			</select>
			设备型号：
			<select id="dvmodel" class="easyui-combobox" style="width: 150px;htight:25px">
			</select>
		</div>
	</div>
</body>
</html>